.calendar-panel {
    background: #FFF;
    /*border-style: solid;
    border-color: #2fa1e7;
    border-width: 0 1px 1px;*/
    box-shadow: -2px 2px 5px #b6b6b6, 2px 2px 5px #b6b6b6;
    -ms-box-shadow: -2px 2px 5px #b6b6b6, 2px 2px 5px #b6b6b6;
    font: 12px/20px Arial,'Microsoft YaHei',sans-serif,SimSun;
    color: #666;
    -ms-filter:"progid:DXImageTransform.Microsoft.Shadow(color=#b6b6b6,direction=90,strength=3) progid:DXImageTransform.Microsoft.Shadow(color=#b6b6b6,direction=180,strength=3) progid:DXImageTransform.Microsoft.Shadow(color=#b6b6b6,direction=270,strength=3)";
    padding-bottom: 10px;
}
.calendar-panel > div {
    overflow-x: hidden;
}
.calendar-panel:after {
    content: ".";
    height: 0;
    overflow: hidden;
    clear: both;
    display: block;
}
/* 上下月切换 */
.calendar-panel .month-nav {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}
.calendar-panel .month-nav span {
    position: absolute;
    top: 0;
    background-color: #2fa1e7;
}
.calendar-panel .previous-month-panel {
    left: 0;
    padding: 9px 2px 8px 10px;
}
.calendar-panel .next-month-panel {
    right: 0;
    padding: 9px 10px 8px 2px;
}
.calendar-panel .previous-month, .calendar-panel .next-month {
    display: block;
    width: 17px;
    height: 17px;
    background: url(img/calendar_arrow.png) scroll no-repeat 0 0 transparent;
    overflow: hidden;
    cursor: pointer;
    outline: none;
}
.calendar-panel .next-month {
    background-position: -17px 0;
}
.calendar-panel .previous-month:hover {
    background-position: 0 -17px;
}
.calendar-panel .next-month:hover {
    background-position: -17px -17px;
}
.calendar-panel .previous-month-disabled, .calendar-panel .previous-month-disabled {
    cursor: default;
}
.calendar-panel .previous-month-disabled, .calendar-panel .previous-month-disabled:hover {
    background-position: 0 -34px;
}
.calendar-panel .next-month-disabled, .calendar-panel .next-month-disabled:hover {
    background-position: -17px -34px;
}
.calendar-panel .loading {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(img/transparent_loading_v2.gif) scroll no-repeat center center transparent;
}
.calendar-panel .calendar-container {
    white-space: nowrap;
    position: relative;
}
.calendar-panel .calendar-wrapper {
    /*// float: left;*/
    display: inline-block;
    vertical-align: top;
}
.calendar-panel .calendar-wrapper h6 {
    margin: 0;
    padding: 0;
    height: 34px;
    background: #2fa1e7;
    text-align: center;
    color: #fff;
}
.calendar-panel h6 span {
    margin-top: 7px;
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
}
.calendar-panel h6 span select,
.calendar-panel h6 span em {
    float: left;
}
.calendar-panel h6 select {
    border: none;
    border-radius: 2px;
    height: 20px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    vertical-align: center;
    margin: 0 5px;
}
.calendar-panel h6 select:first-child {
    margin-left: 0;
}
.calendar-panel h6 .calendar-month {
    width: 40px;
}
.calendar-panel h6 .year-wrapper select {
}
.calendar-panel h6 .month-wrapper select {
}
.calendar-panel h6 .year-wrapper select:focus, .calendar-panel h6 .month-wrapper select:focus {
    border: 0;
}
.calendar-panel h6 span em {
    font-style: normal;
}

.calendar-panel .calendar-wrapper > div {
    position: relative;
    padding: 10px 10px 0;
}
.calendar-panel .calendar-wrapper .behind-month {
    position: absolute;
    width: 196px;
    font-size: 124px;
    line-height: 124px;
    color: #EEE;
    text-align: center;
    padding-top: 30px;
    font-family: 'Helvetica Neue',Helvetica,Arial,Sans-serif;
}

.calendar-panel .calendar-wrapper table {
    margin: 0;
    padding: 0;
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}
.calendar-panel .calendar-wrapper .header {
    height: 14px;
}
.calendar-panel .calendar-wrapper th {
    width: 29px;
    padding: 0;
    border: 1px solid #f0f0f0;
    border-top: none;
    vertical-align: middle;
    text-align: center;
    font-weight: normal;
    line-height: 14px;
}
.calendar-panel .calendar-wrapper tr {
    height: 29px;
}
.calendar-panel .calendar-wrapper td {
    padding: 0;
    border: 1px solid #f0f0f0;
    border-top: none;
    text-align: center;
    vertical-align: top;
    cursor: pointer;
}
.calendar-panel .calendar-wrapper td .d {
    height: 20px;
    display: block;
    margin: 5px 1px 0;
}

/* 周末 */
.calendar-panel .calendar-wrapper th.saturday,
.calendar-panel .calendar-wrapper th.sunday {
    color: #f60;
}
.calendar-panel .calendar-wrapper td.saturday,
.calendar-panel .calendar-wrapper td.sunday {
    /*font-weight: bold;*/
}

/* 节日 */
.calendar-panel .calendar-wrapper .festival {
    color: #b54800;
}

/* 今天 */
.calendar-panel .calendar-wrapper .today {
    color: #ffa63c;
}

/* 选择和hover的日期 */
.calendar-panel .calendar-wrapper .from-day,
.calendar-panel .calendar-wrapper .to-day,
.calendar-panel .calendar-wrapper .selected-day,
.calendar-panel .calendar-wrapper .hover-from-day,
.calendar-panel .calendar-wrapper .hover-to-day {
    box-shadow: 2px 3px 3px #bbb9b9;
    -ms-box-shadow: 2px 3px 3px #bbb9b9;
    color: #333;
}
.calendar-panel .calendar-wrapper .from-day .d,
.calendar-panel .calendar-wrapper .to-day .d,
.calendar-panel .calendar-wrapper .selected-day .d,
.calendar-panel .calendar-wrapper .hover-from-day .d,
.calendar-panel .calendar-wrapper .hover-to-day .d {
    border-bottom: 3px solid #f60;
}

/* 选择和hover的区间日期，并且hover-range会覆盖selected-day */
.calendar-panel .calendar-wrapper .hover-day .d,
.calendar-panel .calendar-wrapper .range-day .d {
    border-bottom: 3px solid #ddd;
}

/* 当月之前和之后的日期 */
.calendar-panel .calendar-wrapper .previous-month-day {
    color: #005BB5;
}
.calendar-panel .calendar-wrapper .next-month-day {
    color: #005BB5;
}

/* 不可选日期 */
.calendar-panel .calendar-wrapper .invalid-day {
    color: #ccc;
    cursor: default;
}

/* 年月选择 */
.calendar-panel .month-panel, .calendar-panel .year-panel {
    position: absolute;
    display: none;
    width: 40px;
    border: 1px solid #ddd;
    background: #fff;
}
.calendar-panel .year-panel {
    width: 50px;
}
.calendar-panel .month-panel a, .calendar-panel .year-panel a {
    display: block;
    margin: 0;
    padding: 0 0 0 10px;
    line-height: 16px;
    cursor: pointer;
    background: #fff;
    _width: 30px; /* 不加宽度hover无效 */
    color: #333;
    text-decoration: none;
}
.calendar-panel .year-panel a {
    _width: 40px;
}
.calendar-panel .month-panel a:hover, .calendar-panel .year-panel a:hover {
    text-decoration: none;
    background: #f0f0f0;
}
.calendar-panel .year-panel .invalid-year, .calendar-panel .month-panel .invalid-month {
    color: #999;
    cursor: default;
}
.calendar-panel .year-panel .invalid-year:hover, .calendar-panel .month-panel .invalid-month:hover {
    background: #fff;
}
.calendar-panel .year-nav {
    height: 16px;
    border-top: 1px solid #ddd;
    position: relative;
}
.calendar-panel .year-nav .previous, .calendar-panel .year-nav .next {
    position: absolute;
    top: 2px;
    line-height: 0;
    cursor: pointer;
    height: 12px;
    overflow: hidden;
}
.calendar-panel .year-nav .previous {
    left: 6px;
}
.calendar-panel .year-nav .next {
    right: 6px;
}
/* 年份导航需要换成图片 */
.calendar-panel .year-nav .previous i, .calendar-panel .year-nav .next i {
    border-style: solid;
    border-color: #fff #ccc #fff #ccc;
    border-width: 6px 6px 6px 0;
    display: inline-block;
    height: 0;
    line-height: 0;
    overflow: hidden;
}
.calendar-panel .year-nav .next i {
    border-width: 6px 0 6px 6px;
}
.calendar-panel .year-nav .previous:hover i, .calendar-panel .year-nav .next:hover i {
    border-color: #fff #f60 #fff #f60;
}
.calendar-panel .year-nav .previous em, .calendar-panel .year-nav .next em {
    border-style: solid;
    border-color: #ccc #fff #ccc #fff;
    border-width: 3px 3px 3px 0;
    position: absolute;
    height: 0;
    line-height: 0;
    overflow: hidden;
    top: 3px;
    right: 0;
    width: 0;
}
.calendar-panel .year-nav .next em {
    border-width: 3px 0 3px 3px;
    left: 0;
}
.calendar-panel .year-nav .previous:hover em, .calendar-panel .year-nav .next:hover em {
    border-color: #f60 #fff #f60 #fff;
}
.calendar-panel .year-nav .invalid-nav {
    visibility: hidden;
    cursor: default;
}
/* 提供的皮肤 */
.calendar-panel.green .calendar-wrapper h6 {
    background: #8ab923;
}
.calendar-panel.green .previous-month-panel, .calendar-panel.green .next-month-panel {
    background-color: #8ab923;
}
.calendar-panel.green .previous-month, .calendar-panel.green .next-month {
    background-image: url(img/calendar_arrow_green.png);
}
/*白色*/
.calendar-panel.white {
    font-size: 14px;
    border: 1px solid #ccc;
    -ms-filter: "";
}
:root .calendar-panel.white {
    border: none;
    box-shadow: 0 0 16px 2px rgba(0,0,0,0.2);
}

.calendar-panel.white > i, .calendar-panel.white > i > em {
    position: absolute;
    height: 0;
    width: 0;
    line-height: 0;
    border-style: solid;
}
.calendar-panel.white > .left-bottom, .calendar-panel.white > .right-bottom {
    border-width: 0 8px 8px;
    top: -8px;
}
.calendar-panel.white > .left-bottom > em, .calendar-panel.white > .right-bottom > em {
    border-width: 0 8px 8px;
    top: 1px;
}
.calendar-panel.white > .left-bottom, .calendar-panel.white > .left-top {
    left: 24px;
}
.calendar-panel.white > .right-bottom, .calendar-panel.white > .right-top {
    right: 24px;
}
.calendar-panel.white > .left-top, .calendar-panel.white > .right-top {
    border-width: 8px 8px 0;
    bottom: -8px;
}
.calendar-panel.white > .left-top > em, .calendar-panel.white > .right-top > em {
    border-width: 8px 8px 0;
    bottom: 1px;
}
.calendar-panel.white > i {
    border-color: #ccc transparent;
}
:root .calendar-panel.white > i {
    border-color: #fff transparent;
}
.calendar-panel.white > i > em {
    border-color: #fff transparent;
    left: -8px;
}
.calendar-panel.white .previous-month-panel, .calendar-panel.white .next-month-panel {
    background-color: #fff;
    top: 10px;
}
.calendar-panel.white .previous-month-panel {
    padding: 0 2px 0 10px;
}
.calendar-panel.white .next-month-panel {
    padding: 0 10px 0 2px;
}
.calendar-panel.white .previous-month, .calendar-panel.white .next-month {
    background: url(img/calendar_arrow_white.png?v=2) 0 0 no-repeat;
    height: 30px;
    width: 30px;
}
.calendar-panel.white .previous-month {
    background-position: -8px 0px;
}
.calendar-panel.white .next-month {
    background-position: -49px 0px;
}
.calendar-panel.white .next-month:hover {
    background-position: -143px 0px;
}
.calendar-panel.white .previous-month:hover {
    background-position: -100px 0;
}
.calendar-panel.white .previous-month-disabled, .calendar-panel.white .previous-month-disabled:hover {
    background-position: -100px -43px;
}
.calendar-panel.white .next-month-disabled, .calendar-panel.white .next-month-disabled:hover {
    background-position: -142px -43px;
}

.calendar-panel.white .calendar-wrapper h6 {
    background: #fff;
    height: 45px;
}
.calendar-panel.white .calendar-wrapper h6 span {
    color: #333;
    font-size: 14px;
    margin-top: 15px;
    line-height: 22px;
}
.calendar-panel.white .calendar-wrapper h6 span select {
    height: 22px;
    border: 1px solid #ccc;
}
.calendar-panel.white .calendar-wrapper h6 span .calendar-month {
    width: 42px;
}

.calendar-panel.white .calendar-wrapper tr {
    height: 31px
}
.calendar-panel.white .calendar-wrapper th,
.calendar-panel.white .calendar-wrapper td {
    border: none;
}
.calendar-panel.white .calendar-wrapper .today {
    color: #ffa63c;
}
.calendar-panel.white .calendar-wrapper .festival {
    color: #b54800;
}
.calendar-panel.white .calendar-wrapper .hover-from-day,
.calendar-panel.white .calendar-wrapper .hover-to-day {
    background-color: #eee;
    color: #333;
    box-shadow: none;
}
.calendar-panel.white .calendar-wrapper .hover-day,
.calendar-panel.white .calendar-wrapper .range-day {
    background:#a4e98d;
    color: #333;
}
.calendar-panel.white .calendar-wrapper .invalid-day {
    color: #ccc;
}
.calendar-panel.white .calendar-wrapper .hover-from-day .d,
.calendar-panel.white .calendar-wrapper .hover-to-day .d {
    border: none;
}
.calendar-panel.white .calendar-wrapper .from-day,
.calendar-panel.white .calendar-wrapper .to-day {
    background: #50b400;
    color: #fff;
    box-shadow: none;
}
.calendar-panel .calendar-wrapper .hover-day .d,
.calendar-panel .calendar-wrapper .range-day .d,
.calendar-panel.white .calendar-wrapper .from-day .d,
.calendar-panel.white .calendar-wrapper .to-day .d,
.calendar-panel.white .calendar-wrapper .selected-day .d {
    border: none;
}
.control-container {
    padding: 0 10px;
    text-align: right;
    margin-top: 4px;
}
.time-panel {
    display: inline-block;
    vertical-align: top;
    font-size: 0;
    margin: 1px 0;
    float: left;
}
.time-panel > label {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 3px;
    background: url(img/watch.png) scroll no-repeat center center transparent;
    background-size: 100% auto;
    vertical-align: top;
}
.time-panel > div {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
    vertical-align: top;
    /* border: 1px solid #ccc;
    border-radius: 2px;*/
}
.time-panel > div > span {
    display: inline-block;
    position: relative;
}
.time-panel > div > span > input {
    vertical-align: top;
    width: 36px;
    text-align: center;
    border: none;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 12px;
    height: 22px;
    padding: 2px 0;
    box-sizing: border-box;
    font-family: inherit;
    outline: none;
}
.time-panel > div > span > div {
    position: absolute;
    bottom: 22px;
    border: 1px solid #dcdcdc;
    width: 100%;
    box-sizing: border-box;
    max-height: 218px;
    line-height: 18px;
    text-align: left;
    overflow: hidden;
    background-color: #fff;
}
.time-panel > div > span > div li {
    padding-left: 5px;
    cursor: pointer;
}
.time-panel > div > span > div li:hover {
    background-color: #5897fb;
    color: #fff;
}
.time-panel > div > em {
    font-style: normal;
    margin: 0 5px;
    font-weight: bold;
}
.control-container > button {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 3px;
    outline: none;
}
.control-container > button:last-child {
    margin-right: 0;
}
.control-container > .confirm-control {
    color: #fff;
    border: 1px solid #1ab394;
    background-color: #1ab394;
}
.control-container > .confirm-control:hover {
    border-color: #18a689;
    background: #18a689;;
}
.control-container > .clear-control {
    color: inherit;
    border: 1px solid #ccc;
    background-color: #f5f5f5;
}
.control-container > .clear-control:hover {
    background: #eee;
}
.time-second-panel > div > span > input {
    width: 32px;
}
.time-second-panel > div > em {
    margin: 0 3px;
}

.calendar-panel.sm-white {
    font-size: 13px;
}
.calendar-panel.sm-white .calendar-wrapper h6 {
    height: 42px;
}
.calendar-panel.sm-white .calendar-wrapper h6 span {
    margin-top: 10px;
}
.calendar-panel.sm-white .calendar-wrapper tr {
    height: 28px
}
.calendar-panel.sm-white .calendar-wrapper > div {
    padding: 2px 8px 0;
}
.calendar-panel.sm-white .previous-month-panel, .calendar-panel.sm-white .next-month-panel {
    top: 6px;
}
.calendar-panel.sm-white .previous-month-panel {
    padding: 0 2px 0 6px;
}
.calendar-panel.sm-white .next-month-panel {
    padding: 0 6px 0 2px;
}
.calendar-panel.sm-white .control-container {
    padding: 0 10px;
}
.calendar-panel.sm-white .time-panel > label {
    width: 20px;
    height: 20px;
}
.calendar-panel.sm-white .time-panel > div > span > input {
    width: 34px;
    height: 20px;
}
.calendar-panel.sm-white .time-panel > div > span > div {
    bottom: 20px;
    max-height: 182px;
}
.calendar-panel.sm-white .control-container > button {
    padding: 1px 8px;
}

.calendar-month-panel {
    padding-bottom: 15px;
}
.calendar-month-panel.sm-white .calendar-wrapper tr {
    height: 36px;
}
.calendar-month-panel.sm-white .calendar-wrapper td {
    width: 25%;
}
.calendar-month-panel.sm-white .calendar-wrapper > div {
    padding: 2px 10px 0;
}
.calendar-month-panel .calendar-wrapper td .d {
    margin-top: 8px;
}
